package com.sheep.api.HDFS;

/**
 * Created by Administrator on 2016/3/28.
 */
public interface HDFSFileService {

    /**
     * LOCAL_SRC,本地文件存取的位置
     * CLOUD_DEST,存放到云端HDFS的位置
     * */
    public boolean upLoadToCloud(String LOCAL_SRC, String CLOUD_DEST);

    /**
     * LOCAL_SRC,down到本地的文件
     * CLOUD_DEST,云端HDFS上的文件
     * */
    public boolean downFromCloud(String LOCAL_SRC, String CLOUD_DESC);

    /**
     * CLOUD_DEST,云端HDFS上的文件
     * */
    public boolean isExist(String CLOUD_DESC);

    public boolean renameFile(String src, String dst);

    public boolean deleteFile(String src);

}
